package com.socialcoco.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 赵志浩
 * @since 2022-04-18 08:57:22
 */
@Getter
@Setter
@TableName("epidemic_situation")
@ApiModel(value = "EpidemicSituation对象", description = "")
public class EpidemicSituation {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("euid")
    private Integer euid;

    @ApiModelProperty("专业")
    @TableField("major")
    private String major;

    @ApiModelProperty("用户")
    @TableField("uname")
    private String uname;

    @ApiModelProperty("地区")
    @TableField("location")
    private String location;

    @ApiModelProperty("是否发烧")
    @TableField("isheat")
    private Integer isheat;

    @ApiModelProperty("是否去往其他地区")
    @TableField("isregion")
    private Integer isregion;

    @ApiModelProperty("是否参加活动")
    @TableField("isactive")
    private Integer isactive;

    @ApiModelProperty("是否接触感染者")
    @TableField("iscontact")
    private Integer iscontact;

    @ApiModelProperty("是否去高风险地区")
    @TableField("isgo")
    private Integer isgo;

    @ApiModelProperty("打卡时间")
    @TableField("createTime")
    private Date createTime;

    @ApiModelProperty("逻辑删除")
    @TableLogic
    private Integer deleted;



}
